﻿<?php

include_once('Common.php');

class IndexController extends D_Controller {
	private $_top;
	
	function init() {
		set_time_limit(8889889);
		$this->setLayout ('main', 'itwork');
		$this -> lo_obj = new Location();
		$this -> work_obj = new Workstyle();
		$this -> job_obj = new Job();
	}
	
	function indexAction() {
		$location = $this -> lo_obj -> find_all();
		$workstyle = $this -> work_obj -> find_all();
		$job = $this -> job_obj -> find_job();
		$this -> view -> localtion = $location;
		$this -> view -> workstyle = $workstyle;
		$this -> view -> job = $job;
	}


	

	
}

?>